//
//  PictureView.h
//

#import <UIKit/UIKit.h>
typedef void (^Sexblock)(NSString *sexStr);
@protocol PictureDelegate <NSObject>
- (void)didClickOnButtonIndex:(NSInteger *)buttonIndex;

@optional
- (void)didClickOnDestructiveButton;
- (void)didClickOnCancelButton;
@end

@interface PictureView : UIView
- (id)initWithTitle:(NSString *)title delegate:(id<PictureDelegate>)delegate cancelButtonTitle:(NSString *)cancelButtonTitle destructiveButtonTitle:(NSString *)destructiveButtonTitle otherButtonTitles:(NSArray *)otherButtonTitlesArray;
- (void)showInView:(UIView *)view;
@property (nonatomic,copy)Sexblock sexblock;
@property(nonatomic,weak)id<PictureDelegate>delegate;
@property (nonatomic,copy)NSString * typeStr;
@end
